package com.atguigu.gulimall.product.vo;

import com.atguigu.gulimall.product.entity.SkuImagesEntity;
import com.atguigu.gulimall.product.entity.SkuInfoEntity;
import com.atguigu.gulimall.product.entity.SpuInfoDescEntity;
import lombok.Data;

import java.util.List;
import java.util.Map;

@Data
public class SkuItemVo {
    //1 sku基本信息获取  pms_sku_info
    SkuInfoEntity info;
    //查询是否有无库存
    boolean hasStock =true;
    //2 sku图片信息    pms_sku_images
    List<SkuImagesEntity> Images;

    //当前spu下所有的sku基本图片信息
    Map<String,String> spuImages;
    //3 获取spu销售属性组合  pms_sku_sale_attr_value
    List<SkuItemSaleAttrVo> saleAttr;

    //4 获取spu的介绍
    SpuInfoDescEntity desp;
    //5 获取spu规模参数组及组下的规模参数 pms_attr  pms_attr_group
    List<SpuItemAttrGroupVo> groupAttrs;





}
